package com.ruoyi.crm.domain.vo;

import com.ruoyi.common.utils.DateUtils;
import lombok.Data;

import java.util.Date;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author mr.huang [jie88888822@163.com]
 * @devTime 2022-06-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResourceGainVO {
	private List<Long> ids;
	private Integer userId;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date nextTime;

	public Date getNextTime() {
		return DateUtils.getNowDate();
	}
}
